package com.gaoxi.gaoxicontroller.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.gaoxi.gaoxicommonservicefacade.entity.UserEntity;
import com.gaoxi.gaoxicommonservicefacade.service.UserService;
import com.gaoxi.gaoxicommonservicefacade.vo.LoginReq;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserControllerImpl implements UserController {
    @Reference(version = "1.0.0")
    private UserService userService;
    @Override
    public void login(LoginReq loginReq) {
        UserEntity userEntity = userService.login(loginReq);
    }
}
